<?php 

//5底部
		//文章
		$arcModel=new \Common\Model\Arc;
		$arcData=$arcModel
				->orderBy('sendtime')
				->limit(2)
				->get();
//		p($arcData);
		//标签
		$tagModel=new \Common\Model\Tag;
		$tagData=$tagModel
				->get();
//		p($tagData);
		//链接
		$linkModel=new \Common\Model\Link;
		$linkData=$linkModel->get();
//		p($linkData);
		//底部
		$WebSetModel=new \Common\Model\WebSet;
		$WebSetDate=$WebSetModel
				->where("wid>2")
				->get();
//		p($WebSetDate);
	


 ?>
 <footer class="hidden-xs">
			<div class="container">
				<div class="row">
					<div class="col-sm-4">
						<h4 class="_title">最新文章</h4>
						<?php foreach ($arcData as $v){?>
						<div id="" class="_single">
							<p><a href="<?php echo U('Content/index',array('aid'=>$v['aid']))?>"><?php echo $v['title']?></a></p>
							<time><?php echo date('Y-m-d H:i:m',$v['sendtime'])?></time>
						</div>
						<?php }?>
						
					</div>

					<div class="col-sm-4 footer_tag">
						
						<div id="">
							<h4 class="_title">标签云</h4>
							<?php foreach ($tagData as $v){?>
							<a href="<?php echo U('List/index',array('tid'=>$v['tid']))?>"><?php echo $v['tname']?></a>
							<?php }?>
						</div>
					</div>
					<div class="col-sm-4">
						<h4 class="_title">友情链接</h4>
						<div id="" class="_single">
							<?php foreach ($linkData as $v){?>

							<p><a href="<?php echo $v['url']?>" target="_blank"><?php echo $v['lname']?></a></p>
							<?php }?>
						</div>
					</div>
				</div>
			</div>
		</footer>
		 <div class="footer_bottom">
            <div class="container">
                <div class="row">
                    <div class="col-sm-12">
                        <?php foreach ($WebSetDate as $v){?>

                            <a href=""><?php echo $v['value']?></a>
                             | 
                        <?php }?>
                    </div>
                </div>
            </div>
        </div>
		<!--返回顶部自己写的插件-->
		<script src="./Public/Home/js/backTop.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			$(function(){
				//插件使用
				$('.back_top').backTop({right:30});
			})
		</script>
		<div class="back_top hidden-xs hidden-md">
			<i class="glyphicon glyphicon-menu-up"></i>
		</div>